package com.vcc.service.service;

import com.mybatisflex.core.service.IService;
import com.vcc.data.entity.UsdtRecharge;

import java.util.Date;
import java.util.List;

public interface UsdtRechargeService extends IService<UsdtRecharge> {


    List<UsdtRecharge> listByStartTimeAndEndTime(Date startDate, Date endDate, Integer status);

    List<UsdtRecharge> listByStatus(Integer status);

    Boolean updateStatusAndRemark(Long id, Integer status, String remark);

    Boolean setFormAddress(
            Long id,
            Integer status,
            String fromAddress,
            String hash,
            Long block,
            Long blockTs,
            String info
            );

    Boolean existsByTransactionId(String transactionId);

}
